package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.VendorSettlementDetail;

import java.util.List;

/**
 * detailMapper接口
 *
 * @author admin
 * @date 2023-12-17
 */
public interface VendorSettlementDetailMapper
{
    /**
     * 查询detail
     *
     * @param id detailID
     * @return detail
     */
    public VendorSettlementDetail selectVendorSettlementDetailById(Long id);

    /**
     * 查询detail列表
     *
     * @param vendorSettlementDetail detail
     * @return detail集合
     */
    public List<VendorSettlementDetail> selectVendorSettlementDetailList(VendorSettlementDetail vendorSettlementDetail);

    /**
     * 新增detail
     *
     * @param vendorSettlementDetail detail
     * @return 结果
     */
    public int insertVendorSettlementDetail(VendorSettlementDetail vendorSettlementDetail);

    /**
     * 修改detail
     *
     * @param vendorSettlementDetail detail
     * @return 结果
     */
    public int updateVendorSettlementDetail(VendorSettlementDetail vendorSettlementDetail);

    /**
     * 删除detail
     *
     * @param id detailID
     * @return 结果
     */
    public int deleteVendorSettlementDetailById(Long id);

    /**
     * 批量删除detail
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteVendorSettlementDetailByIds(Long[] ids);
}
